﻿object Form14: TForm14
  Left = 0
  Top = 0
  BorderStyle = bsDialog
  Caption = #1054#1090#1095#1077#1090#1099
  ClientHeight = 64
  ClientWidth = 303
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poMainFormCenter
  PixelsPerInch = 96
  TextHeight = 13
  object ButtonGroup1: TButtonGroup
    Left = 0
    Top = 0
    Width = 303
    Height = 64
    Align = alClient
    BorderStyle = bsNone
    ButtonHeight = 30
    ButtonWidth = 300
    ButtonOptions = [gboFullSize, gboGroupStyle, gboShowCaptions]
    Items = <
      item
        Action = KolichestvoDolzhnikov
      end
      item
        Action = ОтчетОКлиентах
      end>
    TabOrder = 0
    ExplicitWidth = 653
    ExplicitHeight = 355
  end
  object DateTimePicker1: TDateTimePicker
    Left = 176
    Top = 5
    Width = 97
    Height = 21
    Date = 41438.491671412030000000
    Time = 41438.491671412030000000
    TabOrder = 1
  end
  object ActionManager1: TActionManager
    Left = 64
    Top = 184
    StyleName = 'Platform Default'
    object KolichestvoDolzhnikov: TAction
      Caption = #1050#1086#1083#1080#1095#1077#1089#1090#1074#1086' '#1076#1086#1083#1078#1085#1080#1082#1086#1074' '#1085#1072' '#1076#1072#1090#1091
      OnExecute = KolichestvoDolzhnikovExecute
    end
    object ОтчетОКлиентах: TAction
      Caption = #1054#1090#1095#1077#1090' '#1086' '#1082#1083#1080#1077#1085#1090#1072#1093
      OnExecute = ОтчетОКлиентахExecute
    end
  end
  object frxDBDataset1: TfrxDBDataset
    UserName = 'frxDBDataset1'
    CloseDataSource = False
    DataSet = ADOQuery2
    BCDToCurrency = False
    Left = 288
    Top = 72
  end
  object frxReport1: TfrxReport
    Version = '4.12.13'
    DotMatrixReport = False
    IniFile = '\Software\Fast Reports'
    PreviewOptions.Buttons = [pbPrint, pbLoad, pbSave, pbExport, pbZoom, pbFind, pbOutline, pbPageSetup, pbTools, pbEdit, pbNavigator, pbExportQuick]
    PreviewOptions.Zoom = 1.000000000000000000
    PrintOptions.Printer = 'Default'
    PrintOptions.PrintOnSheet = 0
    ReportOptions.CreateDate = 41410.548812210600000000
    ReportOptions.LastChange = 41410.548812210600000000
    ScriptLanguage = 'PascalScript'
    ScriptText.Strings = (
      ''
      'begin'
      ''
      'end.')
    Left = 112
    Top = 88
    Datasets = <
      item
        DataSet = frxDBDataset1
        DataSetName = 'frxDBDataset1'
      end>
    Variables = <>
    Style = <>
    object Data: TfrxDataPage
      Height = 1000.000000000000000000
      Width = 1000.000000000000000000
    end
    object Page1: TfrxReportPage
      PaperWidth = 210.000000000000000000
      PaperHeight = 297.000000000000000000
      PaperSize = 9
      LeftMargin = 10.000000000000000000
      RightMargin = 10.000000000000000000
      TopMargin = 10.000000000000000000
      BottomMargin = 10.000000000000000000
      object ReportTitle1: TfrxReportTitle
        Height = 37.795300000000000000
        Top = 18.897650000000000000
        Width = 718.110700000000000000
        object Memo2: TfrxMemoView
          Left = 3.779530000000000000
          Width = 718.110700000000000000
          Height = 37.795300000000000000
          ShowHint = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            #1054#1090#1095#1077#1090' '#1087#1086' '#1082#1086#1083#1080#1095#1077#1089#1090#1074#1091' '#1076#1086#1083#1078#1085#1080#1082#1086#1074)
          ParentFont = False
        end
      end
      object MasterData1: TfrxMasterData
        Height = 27.559060000000000000
        Top = 170.078850000000000000
        Width = 718.110700000000000000
        DataSet = frxDBDataset1
        DataSetName = 'frxDBDataset1'
        RowCount = 0
        object Memo3: TfrxMemoView
          Width = 136.063080000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = #1057#1089#1091#1076#1085#1099#1081' '#1089#1095#1077#1090
          DataSet = frxDBDataset1
          DataSetName = 'frxDBDataset1'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset1."'#1057#1089#1091#1076#1085#1099#1081' '#1089#1095#1077#1090'"]')
          ParentFont = False
        end
        object Memo4: TfrxMemoView
          Left = 147.401670000000000000
          Width = 90.708720000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataSet = frxDBDataset1
          DataSetName = 'frxDBDataset1'
          DisplayFormat.FormatStr = '%2.2m'
          DisplayFormat.Kind = fkNumeric
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset1."'#1047#1072#1076#1086#1083#1078#1077#1085#1085#1086#1089#1090#1100'"]')
          ParentFont = False
        end
        object Memo5: TfrxMemoView
          Left = 245.669450000000000000
          Width = 143.622140000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = #1060#1072#1084#1080#1083#1080#1103
          DataSet = frxDBDataset1
          DataSetName = 'frxDBDataset1'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset1."'#1060#1072#1084#1080#1083#1080#1103'"]')
          ParentFont = False
        end
        object Memo6: TfrxMemoView
          Left = 400.630180000000000000
          Width = 154.960730000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = #1048#1084#1103
          DataSet = frxDBDataset1
          DataSetName = 'frxDBDataset1'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset1."'#1048#1084#1103'"]')
          ParentFont = False
        end
        object Memo7: TfrxMemoView
          Left = 563.149970000000000000
          Width = 154.960730000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = #1054#1090#1095#1077#1089#1090#1074#1086
          DataSet = frxDBDataset1
          DataSetName = 'frxDBDataset1'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset1."'#1054#1090#1095#1077#1089#1090#1074#1086'"]')
          ParentFont = False
        end
      end
      object PageFooter1: TfrxPageFooter
        Height = 20.000000000000000000
        Top = 351.496290000000000000
        Width = 718.110700000000000000
        object Memo1: TfrxMemoView
          Left = 642.520100000000000000
          Width = 75.590600000000000000
          Height = 18.897650000000000000
          ShowHint = False
          HAlign = haRight
          Memo.UTF8W = (
            '[Page#]')
        end
      end
      object Header1: TfrxHeader
        Height = 30.236240000000000000
        Top = 117.165430000000000000
        Width = 718.110700000000000000
        object Memo10: TfrxMemoView
          Left = 3.779530000000000000
          Width = 132.283550000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            #1057#1089#1091#1076#1085#1099#1081' '#1089#1095#1077#1090)
          ParentFont = False
        end
        object Memo11: TfrxMemoView
          Left = 147.401670000000000000
          Width = 90.708720000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            #1047#1072#1076#1086#1083#1078#1077#1085#1085#1086#1089#1090#1100)
          ParentFont = False
        end
        object Memo12: TfrxMemoView
          Left = 245.669450000000000000
          Width = 143.622140000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            #1060#1072#1084#1080#1083#1080#1103)
          ParentFont = False
        end
        object Memo13: TfrxMemoView
          Left = 400.630180000000000000
          Width = 154.960730000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            #1048#1084#1103)
          ParentFont = False
        end
        object Memo14: TfrxMemoView
          Left = 563.149970000000000000
          Width = 154.960730000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            #1054#1090#1095#1077#1089#1090#1074#1086)
          ParentFont = False
        end
      end
      object Footer1: TfrxFooter
        Height = 71.811070000000000000
        Top = 219.212740000000000000
        Width = 718.110700000000000000
        object Memo8: TfrxMemoView
          Left = 200.315090000000000000
          Top = 7.559059999999988000
          Width = 154.960730000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DisplayFormat.FormatStr = '%2.2m'
          DisplayFormat.Kind = fkNumeric
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          HAlign = haCenter
          Memo.UTF8W = (
            '[SUM(<frxDBDataset1."'#1047#1072#1076#1086#1083#1078#1077#1085#1085#1086#1089#1090#1100'">,MasterData1)]')
          ParentFont = False
        end
        object Memo9: TfrxMemoView
          Top = 7.559059999999988000
          Width = 200.315090000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            #1054#1073#1097#1072#1103' '#1089#1091#1084#1084#1072' '#1079#1072#1076#1086#1083#1078#1077#1085#1085#1086#1089#1090#1080':')
          ParentFont = False
        end
        object Memo15: TfrxMemoView
          Top = 26.456709999999990000
          Width = 355.275820000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Memo.UTF8W = (
            #1042#1089#1077#1075#1086' '#1076#1086#1083#1078#1085#1080#1082#1086#1074': [COUNT(MasterData1)]')
        end
      end
    end
  end
  object frxDBDataset2: TfrxDBDataset
    UserName = 'frxDBDataset2'
    CloseDataSource = False
    DataSet = ADOQuery1
    BCDToCurrency = False
    Left = 368
    Top = 152
  end
  object frxReport2: TfrxReport
    Version = '4.12.13'
    DotMatrixReport = False
    IniFile = '\Software\Fast Reports'
    PreviewOptions.Buttons = [pbPrint, pbLoad, pbSave, pbExport, pbZoom, pbFind, pbOutline, pbPageSetup, pbTools, pbEdit, pbNavigator, pbExportQuick]
    PreviewOptions.Zoom = 1.000000000000000000
    PrintOptions.Printer = 'Default'
    PrintOptions.PrintOnSheet = 0
    ReportOptions.CreateDate = 41410.556274305600000000
    ReportOptions.LastChange = 41410.556274305600000000
    ScriptLanguage = 'PascalScript'
    ScriptText.Strings = (
      ''
      'begin'
      ''
      'end.')
    Left = 40
    Top = 128
    Datasets = <
      item
        DataSet = frxDBDataset2
        DataSetName = 'frxDBDataset2'
      end>
    Variables = <>
    Style = <>
    object Data: TfrxDataPage
      Height = 1000.000000000000000000
      Width = 1000.000000000000000000
    end
    object Page1: TfrxReportPage
      PaperWidth = 210.000000000000000000
      PaperHeight = 297.000000000000000000
      PaperSize = 9
      LeftMargin = 10.000000000000000000
      RightMargin = 10.000000000000000000
      TopMargin = 10.000000000000000000
      BottomMargin = 10.000000000000000000
      object ReportTitle1: TfrxReportTitle
        Height = 30.236240000000000000
        Top = 18.897650000000000000
        Width = 718.110700000000000000
        object Memo2: TfrxMemoView
          Left = 3.779530000000000000
          Width = 710.551640000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            #1054#1090#1095#1077#1090' '#1086' '#1082#1083#1080#1077#1085#1090#1072#1093)
          ParentFont = False
        end
      end
      object MasterData1: TfrxMasterData
        Height = 22.677180000000000000
        Top = 177.637910000000000000
        Width = 718.110700000000000000
        DataSet = frxDBDataset2
        DataSetName = 'frxDBDataset2'
        RowCount = 0
        object frxDBDataset2F: TfrxMemoView
          Width = 71.811070000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = 'F'
          DataSet = frxDBDataset2
          DataSetName = 'frxDBDataset2'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset2."F"]')
          ParentFont = False
        end
        object frxDBDataset2I: TfrxMemoView
          Left = 75.590600000000000000
          Width = 75.590600000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = 'I'
          DataSet = frxDBDataset2
          DataSetName = 'frxDBDataset2'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset2."I"]')
          ParentFont = False
        end
        object frxDBDataset2O: TfrxMemoView
          Left = 154.960730000000000000
          Width = 64.252010000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = 'O'
          DataSet = frxDBDataset2
          DataSetName = 'frxDBDataset2'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset2."O"]')
          ParentFont = False
        end
        object frxDBDataset2SsudnyjSchet: TfrxMemoView
          Left = 222.992270000000000000
          Width = 98.267780000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = 'SsudnyjSchet'
          DataSet = frxDBDataset2
          DataSetName = 'frxDBDataset2'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset2."SsudnyjSchet"]')
          ParentFont = False
        end
        object frxDBDataset2Summa: TfrxMemoView
          Left = 328.819110000000000000
          Width = 86.929190000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataSet = frxDBDataset2
          DataSetName = 'frxDBDataset2'
          DisplayFormat.FormatStr = '%2.2m'
          DisplayFormat.Kind = fkNumeric
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset2."Summa"]')
          ParentFont = False
        end
        object frxDBDataset2Stavka: TfrxMemoView
          Left = 423.307360000000000000
          Width = 56.692950000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataSet = frxDBDataset2
          DataSetName = 'frxDBDataset2'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset2."Stavka"]%')
          ParentFont = False
        end
        object frxDBDataset2DataZakljuchenijaDogovora: TfrxMemoView
          Left = 487.559370000000000000
          Width = 79.370130000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = 'DataZakljuchenijaDogovora'
          DataSet = frxDBDataset2
          DataSetName = 'frxDBDataset2'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset2."DataZakljuchenijaDogovora"]')
          ParentFont = False
        end
        object frxDBDataset2DataOkonchanija: TfrxMemoView
          Left = 570.709030000000000000
          Width = 68.031540000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = 'DataOkonchanija'
          DataSet = frxDBDataset2
          DataSetName = 'frxDBDataset2'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset2."DataOkonchanija"]')
          ParentFont = False
        end
        object frxDBDataset2SumOplacheno: TfrxMemoView
          Left = 642.520100000000000000
          Width = 75.590600000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataSet = frxDBDataset2
          DataSetName = 'frxDBDataset2'
          DisplayFormat.FormatStr = '%2.2m'
          DisplayFormat.Kind = fkNumeric
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBDataset2."Sum-Oplacheno"]')
          ParentFont = False
        end
      end
      object PageFooter1: TfrxPageFooter
        Height = 22.677180000000000000
        Top = 340.157700000000000000
        Width = 718.110700000000000000
        object Memo1: TfrxMemoView
          Left = 642.520100000000000000
          Width = 75.590600000000000000
          Height = 18.897650000000000000
          ShowHint = False
          HAlign = haRight
          Memo.UTF8W = (
            '[Page#]')
        end
      end
      object Header1: TfrxHeader
        Height = 45.354360000000000000
        Top = 109.606370000000000000
        Width = 718.110700000000000000
        object Memo3: TfrxMemoView
          Width = 71.811070000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Memo.UTF8W = (
            #1060#1072#1084#1080#1083#1080#1103)
        end
        object Memo4: TfrxMemoView
          Left = 79.370130000000000000
          Width = 71.811070000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Memo.UTF8W = (
            #1048#1084#1103)
        end
        object Memo5: TfrxMemoView
          Left = 154.960730000000000000
          Width = 64.252010000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Memo.UTF8W = (
            #1054#1090#1095#1077#1089#1090#1074#1086)
        end
        object Memo6: TfrxMemoView
          Left = 222.992270000000000000
          Width = 98.267780000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Memo.UTF8W = (
            #1057#1089#1091#1076#1085#1099#1081' '#1089#1095#1077#1090)
        end
        object Memo7: TfrxMemoView
          Left = 328.819110000000000000
          Width = 86.929190000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Memo.UTF8W = (
            #1057#1091#1084#1084#1072)
        end
        object Memo8: TfrxMemoView
          Left = 423.307360000000000000
          Width = 56.692950000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Memo.UTF8W = (
            #1057#1090#1072#1074#1082#1072)
        end
        object Memo9: TfrxMemoView
          Left = 487.559370000000000000
          Width = 79.370130000000000000
          Height = 34.015770000000000000
          ShowHint = False
          Memo.UTF8W = (
            #1044#1072#1090#1072' '#1079#1072#1082#1083#1102#1095#1077#1085#1080#1103)
        end
        object Memo10: TfrxMemoView
          Left = 570.709030000000000000
          Width = 79.370130000000000000
          Height = 34.015770000000000000
          ShowHint = False
          Memo.UTF8W = (
            #1044#1072#1090#1072' '#1086#1082#1086#1085#1095#1072#1085#1080#1103)
        end
        object Memo11: TfrxMemoView
          Left = 650.079160000000000000
          Width = 79.370130000000000000
          Height = 34.015770000000000000
          ShowHint = False
          Memo.UTF8W = (
            #1054#1087#1083#1072#1095#1077#1085#1086)
        end
      end
      object Footer1: TfrxFooter
        Height = 56.692950000000000000
        Top = 222.992270000000000000
        Width = 718.110700000000000000
        object Memo12: TfrxMemoView
          Left = 3.779530000000000000
          Top = 7.559059999999988000
          Width = 544.252320000000100000
          Height = 37.795300000000000000
          ShowHint = False
          DisplayFormat.FormatStr = '%2.2m'
          DisplayFormat.Kind = fkNumeric
          Memo.UTF8W = (
            
              #1054#1073#1097#1072#1103' '#1089#1091#1084#1084#1072' '#1079#1072#1076#1086#1083#1078#1077#1085#1085#1086#1089#1090#1080': [SUM(<frxDBDataset2."Summa">,MasterDa' +
              'ta1)]'
            
              #1048#1079' '#1085#1080#1093' '#1086#1087#1083#1072#1095#1077#1085#1086': [SUM(<frxDBDataset2."Sum-Oplacheno">,MasterData' +
              '1)]')
        end
      end
    end
  end
  object ADOQuery1: TADOQuery
    Connection = Form1.ADOConnection1
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      
        'SELECT FizLica.F, FizLica.I, FizLica.O, Kredity.SsudnyjSchet, Kr' +
        'edity.Summa, Kredity.Stavka, Kredity.DataZakljuchenijaDogovora, ' +
        'Kredity.DataOkonchanija, Sum(PlatezhiPoKreditu.Oplacheno) AS [Su' +
        'm-Oplacheno]'
      
        'FROM (Kredity INNER JOIN (FizLica INNER JOIN [FizLica-Kredity] O' +
        'N FizLica.ID = [FizLica-Kredity].[ID-FizLica]) ON Kredity.Ssudny' +
        'jSchet = [FizLica-Kredity].[ID-Kredity]) LEFT JOIN PlatezhiPoKre' +
        'ditu ON Kredity.SsudnyjSchet = PlatezhiPoKreditu.[ID-Kredity]'
      
        'GROUP BY FizLica.F, FizLica.I, FizLica.O, Kredity.SsudnyjSchet, ' +
        'Kredity.Summa, Kredity.Stavka, Kredity.DataZakljuchenijaDogovora' +
        ', Kredity.DataOkonchanija;')
    Left = 160
    Top = 144
  end
  object ADOQuery2: TADOQuery
    Active = True
    Connection = Form1.ADOConnection1
    CursorType = ctStatic
    Parameters = <
      item
        Name = 'dat'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 510
        Value = '0:00:00'
      end>
    SQL.Strings = (
      
        'SELECT Kredity.SsudnyjSchet AS ['#1057#1089#1091#1076#1085#1099#1081' '#1089#1095#1077#1090'], Sum(PlatezhiPoKre' +
        'ditu.SummaPlatezha) AS '#1047#1072#1076#1086#1083#1078#1077#1085#1085#1086#1089#1090#1100', FizLica.F AS '#1060#1072#1084#1080#1083#1080#1103', FizL' +
        'ica.I AS '#1048#1084#1103', FizLica.O AS '#1054#1090#1095#1077#1089#1090#1074#1086
      
        'FROM Kredity INNER JOIN ((FizLica INNER JOIN [FizLica-Kredity] O' +
        'N FizLica.ID = [FizLica-Kredity].[ID-FizLica]) INNER JOIN Platez' +
        'hiPoKreditu ON [FizLica-Kredity].[ID-Kredity] = PlatezhiPoKredit' +
        'u.[ID-Kredity]) ON Kredity.SsudnyjSchet = [FizLica-Kredity].[ID-' +
        'Kredity]'
      'WHERE (((PlatezhiPoKreditu.Data)<:dat))'
      
        'GROUP BY Kredity.SsudnyjSchet, FizLica.F, FizLica.I, FizLica.O, ' +
        'PlatezhiPoKreditu.Oplata'
      
        'HAVING (((Sum(PlatezhiPoKreditu.SummaPlatezha))>0) AND ((Platezh' +
        'iPoKreditu.Oplata)=False));')
    Left = 248
    Top = 136
  end
end
